package com.asset.mgt.service.impl;

import com.asset.mgt.service.OrderAddService;
import com.asset.mgt.service.feign.AssetOrderClient;
import jakarta.annotation.Resource;
import org.asset.entity.Order;
import org.asset.until.R;
import org.springframework.stereotype.Service;

@Service
public class OrderAddServiceImpl implements OrderAddService {
    @Resource
    private AssetOrderClient assetOrderClient;

    @Override
    public R addOrder(Order order) {
        return assetOrderClient.addOrder(order);
    }
}
